#include<stdio.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<unistd.h>

int main(int argc, char *argv[])
{
  int err;
  struct stat buf;
  const char *path = "./stat.c";
  err = stat(path,&buf);
  printf("%d",err);
  return 0;
}
